Added an update database factory, which is called from a couple directives to update values from user input (rating, whether the movie has been seen, etc.), and other minor changes