Manually defined cursor

Today you need to update using the psql command. Please read about how to do it here: Update the cursor manually breaks my connection - #4 by boggdan