Revert "use $_POST instead of $_REQUEST in ajax call back"

This reverts commit 6cd4749f060672357bf0b0f4ab60df2572f74a5c.
fix template include relative paths
check if activity_id exist and than and then update activity after media edit