Added modified field to database
Added /posts/update function