Updated tags action in Posts controller