Dynamic update posts,alert message after submit post