Fix #315 update_first_post doesn't handle errors

Fix #315 update_first_post doesn't handle errors